package com.wudi.estate.service.assetmanage;

import com.wudi.estate.bean.assetmanage.Asset;

import java.util.List;
import java.util.Map;

public interface AssetService {
    //    查询所有小区和设备
    List<Map<String, Object>> selectDeviceAndCommunity() throws  Exception;
//查询小区和设备（显示添加用）
    Map<String, Object> selectDeviceAndCommunityAddUi() throws  Exception;
//添加
    void insert(Asset asset) throws Exception;

    Asset selectById(long id);

    void update(Asset asset);

    void delete(long id);
}
